import threading
import time

def task_thr():
    time.sleep(1)
    thr=threading.current_thread()
    print(thr)

if __name__ == '__main__':
    for i in range(20):
        sub_thr=threading.Thread(target=task_thr)
        sub_thr.start()